using CHEnhanceEfCore.Models;
using Microsoft.EntityFrameworkCore;

namespace CHEnhanceEfCore.DataBase
{
    public class ChEnhanceDbContext : DbContext
    {
        public ChEnhanceDbContext(DbContextOptions<ChEnhanceDbContext> options) : base(options)
        {
        }

        public DbSet<User> userSet { get; set; }
        
        public DbSet<Role> roleSet { get; set; }
        
        public DbSet<UserRole> userRoleSet { get; set; }
        
        public DbSet<RoleMenu> roleMenuSet { get; set; }
        
        public DbSet<Menu> menuSet { get; set; }
        
        public DbSet<Address> addressSet { get; set; }
        
        public DbSet<UserTask> userTaskSet { get; set; }
    }
}